<div>
    <form action="/iteration_form?id={{iteration_id}}&project_id={{ project.key.id }}" method="post" id="iteration_form">
        <input type="hidden" name="project_id" value="{{ project.key.id }}">
        <input type="hidden" name="id" value="{{ iteration_id }}">
        <fieldset>
            <legend>Iteration details</legend>
            <ol>
                {{ form.as_ul }}
            </ol>
        </fieldset>
    </form>
</div>